package com.six.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("agreement")
public class Agreement implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String type;

    private String number;

    @TableField("start_time")
    private Date startTime;

    @TableField("end_time")
    private Date endTime;

    private String notes;

    @TableField("admin_id")
    private Long adminId;
}
